package com.gzx.plugin.tjzy.modular.project.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.gzx.plugin.tjzy.modular.project.entity.GzxProject;
import com.gzx.plugin.tjzy.modular.project.mapper.GzxProjectMapper;
import com.gzx.plugin.tjzy.modular.project.service.GzxProjectListService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/1/15 13:48
 */
@Service
@RequiredArgsConstructor
public class GzxProjectListServiceImpl implements GzxProjectListService {

    private final GzxProjectMapper projectMapper;

    /**
     * 获取项目
     *
     * @return
     */
    @Override
    @DS("tjzy")
    public List<GzxProject> getList() {
        return projectMapper.selectList();
    }
}
